Component({
    properties: {
        modalHidden: {
            type: Boolean,
            value: true
        },
        modalMsg: {
            type: String,
            value: ' ',
        }
    },
    data: {
        text: "text",
        inputChangevalue: ''
    },
    methods: {
        modal_click_Hidden: function() {
            this.setData({
                modalHidden: true,
                inputChangevalue: ''
            })
        },
        Sure: function() {
            this.triggerEvent('myevent', {
                passwordValue: this.data.inputChangevalue
            });
        },
        inputChange: function(event) {
            this.setData({
                inputChangevalue: event.detail.value
            })
        },
        icon_wrong: function() {
            this.setData({
                inputChangevalue: ''
            })
        }
    }
})